/**
 * Description:
 * Class Name:FinalOverload
 * Date:2022/1/29 12:52
 *
 * @author LTisme
 * @version JAVA17
 */
package 疯狂Java讲义.第6章_面向对象_下._6_4_final修饰符;

public class FinalOverload {
    public final void test(){
        System.out.println("good");
    }
    public final void test(String arg){
        System.out.println("will " + arg);
    }

    public static void main(String[] args) {
        var x = new FinalOverload();
        String kk = "hello";
        x.test();
        x.test(kk);
    }
}
